import request from "@/utils/request";

export function addWoRawRel(query) {
  return request({
    url: `/system/woRawRel/addWoRawRel`,
    method: "post",
    data: query,
  });
}

export function startWoRaw(query) {
  return request({
    url: `/system/woRawRel/startWoRaw`,
    method: "post",
    data: query,
  });
}

export function insertWoRawRel(query) {
  return request({
    url: `/system/woRawRel/insertWoRawRel`,
    method: "post",
    data: query,
  });
}

export function insertWoRawRels(query) {
  return request({
    url: `/system/woRawRel/insertWoRawRels`,
    method: "post",
    data: query,
  });
}

export function endWoRaw(query) {
  return request({
    url: `/system/woRawRel/endWoRaw`,
    method: "post",
    data: query,
  });
}

export function pauseWoRaw(query) {
  return request({
    url: `/system/woRawRel/pauseWoRaw`,
    method: "post",
    data: query,
  });
}
